import request from '@/utils/request'
class UserModel {
  static async login(data = {}) {
    return request<any, any>({
      url: '/oauth/login',
      method: 'GET',
      params: data
    })
  }
}

export default UserModel
